<template>
  <div>这是一个button</div>
  <button>
    <slot name="body" :data="props.data" :data2="props.data"> </slot>
  </button>
</template>
<script setup>
import { defineProps } from "vue";
const props = defineProps({
  data: {
    type: Object,
    required: true,
  },
});
</script>
<style></style>
